package com.javasm.mb_store_api_final.giftsandgoods.goods.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品管理-商品管理(GgGoods)表实体类
 *
 * @author makejava
 * @since 2024-07-29 21:20:18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuppressWarnings("serial")
public class GgGoods extends Model<GgGoods> {
    
    private Integer id;
    
    private String gcode;
    
    private String gname;
    
    private Integer gtype;
    
    private Double purchasePrice;
    //鐢倸婧€娴犻攱鐗?
    private Double marketPrice;
    //閸熷棗鐓勬禒閿嬬壐
    private Double shopPrice;
    
    private Integer stock;
    //闁哄牃鍋撳ù锝呴缁ㄨ京鈧稒锕㈤崳?
    private Integer minStock;
    //婢跺洦鏁?
    private String remark;
    
    private Integer productId;
    
    private Date createTime;
    
    private Date updateTime;
    
    private String gbrand;
    
    private String gmodel;
    
    private String gcolor;
    @TableField(exist = false)
    private String typeName;
    @TableField(exist = false)
    //基础库-分类
    private String classify;
    @TableField(exist = false)
    //基础库-采购模式
    private String purchasingPattern;
    @TableField(exist = false)
    //基础库-铺货
    private String distribution;
    //基础库-备机
    @TableField(exist = false)
    private String standby;
    //@TableLogic(value = "0",delval = "1")
    private Integer gstatus;


}

